import greenfoot.*;  // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)

/**
 * Clase Menú
 * 
 * @author Andrés Cruz Santiago ,Jesús Aurelio Hrnández Aguilar
 * @version 04/07/13
 */
public class Menu extends World
{

    /**
     * Constructor for objects of class Menu.
     * 
     */
    public Menu()
    {    
        // Create a new world with 600x400 cells with a cell size of 1x1 pixels.
        super(600, 400, 1); 

        prepare();
    }

    /**
     * Prepare the world for the start of the program. That is: create the initial
     * objects and add them to the world.
     */
    private void prepare()
    {
        BotonAtras botonatras = new BotonAtras();
        addObject(botonatras, 548, 363);
        BotonAyuda botonayuda = new BotonAyuda();
        addObject(botonayuda, 278, 279);
        BotonJugar botonjugar = new BotonJugar();
        addObject(botonjugar, 127, 126);
        removeObject(botonatras);
        BotonCredito botoncredito = new BotonCredito();
        addObject(botoncredito, 385, 294);
        botonayuda.setLocation(261, 197);
        botoncredito.setLocation(356, 282);
        botonayuda.setLocation(220, 221);
        botoncredito.setLocation(331, 300);
        botoncredito.setLocation(307, 293);
        botonayuda.setLocation(213, 209);
        botoncredito.setLocation(294, 287);
        BotonRecord botonrecord = new BotonRecord();
        addObject(botonrecord, 411, 349);
        botoncredito.setLocation(311, 287);
        removeObject(botonrecord);
        BotonRecord botonrecord2 = new BotonRecord();
        addObject(botonrecord2, 459, 352);
        botoncredito.setLocation(300, 292);
        botonrecord2.setLocation(413, 348);
    }
}
